export const toolGroups = [{
  name: '基础',
  children: [
    {
      name: '立方体',
      // image: './images/cube.jpg',
      data: {
        type: 'box',
        animations:[{key:'position',to:{x:-10,z:6},time:3000,repeat:-1,start:true,yoyo:true},{key:'rotation',time:3000,to:{y:11},repeat:-1,start:true,yoyo:true}]
      }
    },
    {
      name: '圆球',
      data: {
        type: 'sphere'
      }
    },
    {
      name: '圆柱体',
      data: {
        type: 'cylinder'
      }
    },
    {
      name: '平面',
      data: {
        type: 'plane',
      }
    },
    {
      name: '文本2d',
      data: {
        type: 'text2d',
        text: '文本2D'
      }
    },
    {
      name: '组',
      data: {
        type: 'group'
      }
    },
    {
      name: '相机',
      data: {
        type: 'perspectiveCamera',
        name: '透视相机',
        position: {
          x:0,
          y:5,
          z:10
        }
      }

    }
  ]
},{
  name:'光源',
  children:[{
    name: '环境光',
    data: {
      type: 'ambientLight',
      color: 0xffffff,
    }
  },
  {
    name: '平行光',
    data: {
      type: 'directionalLight',
      color: 0xffffff,
      intensity: 1,
      position:{
        x:3,
        y:4,
        z:2
      }
    }

  },
  {
    name: '半球光',
    data: {
      type: 'hemisphereLight',
      skyColor: 0xffffbb,
      groundColor: 0x080820,
      intensity: 1
    }

  },
  {
    name: '点光源',
    data: {
      type: 'pointLight',
      color: 0xffffff,
      intensity: 50,
      position: {
        x:0,
        y:10,
        z:0
      }
    }

  },
  {
    name: '聚光灯',
    data: {
      type: 'spotLight',
      color: 0xffffff,
      intensity: 50,
      position: {
        x:0,
        y:10,
        z:0
      }
    }

  },
  {
    name: '平面光',
    data: {
      type: 'rectAreaLight',
      color: 0xffffff,
      intensity: 1,
      width:10,
      height:10
    }

  }]
},{
  name:'远程',
  children:[{
    name:'树fbx模型',
    data:{
      type:'fbx',
      url:'./tree.fbx',
      scale:{
        x:0.002,
        y:0.002,
        z:0.002
      }
    }
  }]
}];